package com.xindacloud.sms.adapter.service.business;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xindacloud.sms.adapter.entity.SmsUser;
import com.xindacloud.sms.adapter.vo.UserRoleVO;

import java.math.BigDecimal;
import java.util.List;

public interface ISmsUserService extends IService<SmsUser> {

    SmsUser queryUserInfoById(Integer userId);

    boolean updateSmsPrice(Integer userId, BigDecimal sumSmsPrice);

    SmsUser queryUserInfoFor(String username, String password);

    List<UserRoleVO> queryUserRoleList(Integer userId);

    List<SmsUser> queryUserInfoListByParentUserId(Integer userId);


}
